projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcf3fe
)
fast-float: tweak lut generation
author
Øyvind Kolås
<pippin@gimp.org>
Wed, 16 Nov 2016 16:12:50 +0000
(17:12 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 16 Nov 2016 16:12:50 +0000
(17:12 +0100)
extensions/fast-float.c
patch
|
blob
|
history
diff --git
a/extensions/fast-float.c
b/extensions/fast-float.c
index 8148de0b1121c53fd2ff861854df816fc8c810d2..9103bc93f020e0ee279298b1978eb72d0f2ab552 100644
(file)
--- a/
extensions/fast-float.c
+++ b/
extensions/fast-float.c
@@
-449,7
+449,7
@@
init (void)
fast_pow = babl_lookup_new (core_lookup, NULL, 0.0, 1.0, 0.0001);
fast_rpow = babl_lookup_new (core_rlookup, NULL, 0.0, 1.0, 0.0001);
- for (f = 0.0; f < 1.0; f+= 0.00001)
+ for (f = 0.0; f < 1.0; f+= 0.00001
2
)
{
a = linear_to_gamma_2_2_lut (f);
a = gamma_2_2_to_linear_lut (f);